<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language="java" contentType="text/html"%>

<html>
<!-- head>
        <title>Insert Data here!</title>
     <link href="<s:url value="/css/main.css"/>" rel="stylesheet"
          type="text/css"/>  
  </head>
    <body>
    <s:form action="/login" method="POST">
      <s:textfield name="userId" label="Login Id"/><br>
      <s:password name="password" label="Password"/><br>
         <s:submit value="Login" align="center"/>
    </s:form>
  </body-->
<jsp:include page="/inc/head.jsp" flush="true" />
<body>
<div  id="login_container">
    <div  id="header">
		<jsp:include page="/inc/top.jsp" flush="true" />

<div id="login" class="section">
<% if ("false".equals(session.getAttribute( "logged" ))) {%>
<div id="fail" class="info_div"><span class="ico_cancel">Username o password errate!</span></div>
<% } %>
<s:form action="/login" method="POST" id="loginform">

	<label><strong>Username</strong></label><s:textfield name="utente.username" id="utente.username" size="28" cssClass="input" theme="simple"/>
	<br />
	<label><strong>Password</strong></label><s:textfield name="utente.password" id="utente.password" size="28" cssClass="input" theme="simple"/>
	<br />

	<br />
	<input id="save" class="loginbutton" type="submit" class="submit" value="Accedi" />
</s:form> <a href="#" id="passwordrecoverylink">Password dimenticata?</a> <jsp:include
	page="/inc/bot_login.jsp" flush="true" />
</html>